# event.py

class Event:
    DOUBLE_QUOTATION = "double_quotation"
    BACK_SLASH = "back_slash"
    OTHER_CHAR = "other_char"

    @staticmethod
    def of(char):
        if char == '"':
            return Event.DOUBLE_QUOTATION
        elif char == '\\':
            return Event.BACK_SLASH
        else:
            return Event.OTHER_CHAR

